package com.woniuxy.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * (ExamPaper)实体类
 *
 * @author zjx
 * @since 2021-05-14 19:35:26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@JsonIgnoreProperties(value = {"handler"})
@ApiModel("试卷实体类")
public class ExamPaper implements Serializable {
    private static final long serialVersionUID = 686028798143084798L;
    @ApiModelProperty("试卷id")
    private Integer id;
    @ApiModelProperty("试卷名称")
    private String name;
    @ApiModelProperty("组卷方式")
    private String groupMethod;
    @ApiModelProperty("用途-考试分类")
    private String utility;
    @ApiModelProperty("预览地址")
    private String url;
    @ApiModelProperty("是否有简答题")
    private Integer hasShortAnswer;
    @ApiModelProperty("单选题总分")
    private Integer singleTotalScore;
    @ApiModelProperty("多选题总分")
    private Integer multipleTotalScore;
    @ApiModelProperty("判断题总分")
    private Integer judgeTotalScore;
    @ApiModelProperty("填空题总分")
    private Integer fillBlankTotalScore;
    @ApiModelProperty("简答题总分")
    private Integer shortAnswerTotalScore;
    @ApiModelProperty("单选题数量")
    private Integer singleCount;
    @ApiModelProperty("多选题数量")
    private Integer multipleCount;
    @ApiModelProperty("判断题数量")
    private Integer judgeCount;
    @ApiModelProperty("填空题数量")
    private Integer fillBlankCount;
    @ApiModelProperty("简答题数量")
    private Integer shortAnswerCount;
    @ApiModelProperty("创建者")
    private String creater;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("修改时间")
    private Date updateTime;
    @ApiModelProperty("试题类型集合")
    private List<TestType> subject;

}
